from app  import app 
from flask  import render_template

@app.route('/')
def index():
    return render_template("index.html",text="test demo")
# 通过模板渲染数据.
